@echo off
set cds=%~dp0
set nginx_path=%cds%nginx
echo nginxpath: %nginx_path%
cd %nginx_path%
tasklist | findstr /i "nginx.exe"  
echo "nginx is running, stopping..." 
rem nginx -s stop 
TASKKILL /F /IM nginx.exe /T  
echo "stop ok" 
:END 
pause

